<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" exclude-result-prefixes="fo">
	<xsl:output method="xml" version="1.0" omit-xml-declaration="no" indent="yes"/>
	
	<!-- 	For the person who wants to make a beautiful relatory to Space Frame analysis model:
			Please, change the column widht to this analysis model. Simply change the actual
			value to the desired one, or make any other change you want.
			Example:
				
				<xsl:if test="$gAnl='SpaceFrame'">
					<fo:table-column column-width="80pt"/>
				</xsl:if>
				
				change to
				
				<xsl:if test="$gAnl='SpaceFrame'">
					<fo:table-column column-width="40pt"/>
				</xsl:if>
	-->
	
	<!-- Setting the gAnl global variable -->
	<xsl:variable name="gAnl">
		<xsl:value-of select="root/fmodel/globalAnalysis"/>
	</xsl:variable>
	
	<!-- Setting the processed global variable -->
	<!-- 1 if processed, empty if not processed -->
	<xsl:variable name="processed">
		<xsl:choose>
			<xsl:when test="not(root/fmodel/numEquations=0 and root/fmodel/numRestraints=0)">
				<xsl:text>1</xsl:text>
			</xsl:when>
			<xsl:when test="root/fmodel/numEquations=0 and root/fmodel/numRestraints=0">
				<xsl:text/>
			</xsl:when>
		</xsl:choose>
	</xsl:variable>
	
	<!-- root element: root -->
	<xsl:template match="root">
		<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:fox="http://xml.apache.org/fop/extensions">
			
			<!-- Defining pages layout -->
			<fo:layout-master-set>
				<fo:simple-page-master master-name="firstPage" page-height="29.7cm" page-width="21cm" margin-top="2cm" margin-bottom="2cm" margin-left="2cm" margin-right="2cm">
					<fo:region-body/>
					<fo:region-after region-name="feet" extent="20pt"/>
				</fo:simple-page-master>
				<fo:simple-page-master master-name="simpleA4" page-height="29.7cm" page-width="21cm" margin-top="2cm" margin-bottom="2cm" margin-left="2cm" margin-right="2cm">
					<fo:region-before region-name="header" extent="30pt"/>
					<fo:region-body margin-top="33pt" margin-bottom="28pt"/>
					<fo:region-after region-name="feet" extent="20pt"/>
				</fo:simple-page-master>
				
				<fo:page-sequence-master master-name="standard">
					<fo:repeatable-page-master-alternatives>
						<fo:conditional-page-master-reference master-reference="firstPage" page-position="first"/>
						<fo:conditional-page-master-reference master-reference="simpleA4" page-position="rest"/>
						<fo:conditional-page-master-reference master-reference="simpleA4"/>
					</fo:repeatable-page-master-alternatives>
				</fo:page-sequence-master>
				
			</fo:layout-master-set>
			<!-- End of Defining pages layout -->
			
			<fo:page-sequence master-reference="standard">
				
				<!-- Defining the header of pages -->
				<fo:static-content flow-name="header">
					<fo:table table-layout="fixed" text-align-last="end">
						<fo:table-column column-width="12cm"/>
						<fo:table-column column-width="5cm"/>
						<fo:table-body>
							<fo:table-row>
								<fo:table-cell>
									<fo:block text-align="start">INSANE - Interactive Structural Analysis Environment</fo:block>
								</fo:table-cell>
								<fo:table-cell>
								 	<fo:block text-align="end"><xsl:value-of select="filename"/></fo:block>
								</fo:table-cell>
							</fo:table-row>
						</fo:table-body>
					</fo:table>
					<fo:block>
						<fo:leader leader-pattern="rule" leader-length="17cm"/>
					</fo:block>
				</fo:static-content>
				<!-- End of Defining the header of pages -->
				
				<!-- Defining the feet of pages -->
				<fo:static-content flow-name="feet">
					<fo:block text-align="end">
						Page <fo:page-number/> of <fo:page-number-citation ref-id="TheVeryLastPage"/>
					</fo:block>
				</fo:static-content>
				<!-- End of Defining the feet of pages -->
				
				<!-- PDF Bookmarks -->
				<fox:outline internal-destination="title">
					<fox:label>Insane Relatory</fox:label>
				</fox:outline>
				<fox:outline internal-destination="fileAttributes">
					<fox:label>File Attributes</fox:label>
				</fox:outline>
				<fox:outline internal-destination="modelDrawing">
					<fox:label>Model Drawing</fox:label>
				</fox:outline>
				<fox:outline internal-destination="modelAttributes">
					<fox:label>Model Attributes</fox:label>
				</fox:outline>
				<fox:outline internal-destination="inputData">
					<fox:label>Input Data</fox:label>
					<xsl:if test="fmodel/material">
						<fox:outline internal-destination="materials">
							<fox:label>Materials List</fox:label>
						</fox:outline>
					</xsl:if>
					<xsl:if test="fmodel/section">
						<fox:outline internal-destination="sections">
							<fox:label>Cross Sections List</fox:label>
						</fox:outline>
					</xsl:if>
					<fox:outline internal-destination="coordinates">
						<fox:label>Nodal Coordinates and Angle</fox:label>
					</fox:outline>
					<xsl:if test="fmodel/element">
						<fox:outline internal-destination="elements">
							<fox:label>Element Attributes</fox:label>
						</fox:outline>
					</xsl:if>
					<xsl:if test="fmodel/node/restraint">
						<fox:outline internal-destination="restraint">
							<fox:label>Nodal Restraints</fox:label>
						</fox:outline>
					</xsl:if>
					<xsl:if test="fmodel/node/force">
						<fox:outline internal-destination="nodalLoads">
							<fox:label>Nodal Loads</fox:label>
						</fox:outline>
					</xsl:if>
					<xsl:if test="fmodel/node/spring">
						<fox:outline internal-destination="elasticSupports">
							<fox:label>Elastic Supports</fox:label>
						</fox:outline>
					</xsl:if>
					<xsl:if test="fmodel/node/preDisplacement">
						<fox:outline internal-destination="preDisplacement">
							<fox:label>Prescribed Displacements</fox:label>
						</fox:outline>
					</xsl:if>
					<xsl:if test="fmodel/element/concLoad">
						<fox:outline internal-destination="concLoad">
							<fox:label>Concentrated Loads at Elements</fox:label>
						</fox:outline>
					</xsl:if>
					<xsl:if test="fmodel/element/distLoad">
						<fox:outline internal-destination="distLoad">
							<fox:label>Distributed Loads at Elements</fox:label>
						</fox:outline>
					</xsl:if>
					<xsl:if test="fmodel/element/tempChanges">
						<fox:outline internal-destination="tempChanges">
							<fox:label>Temperature Changes at Elements</fox:label>
						</fox:outline>
					</xsl:if>
					<xsl:if test="fmodel/element/liberation">
						<fox:outline internal-destination="liberations">
							<fox:label>Liberations at Elements Extremities</fox:label>
						</fox:outline>
					</xsl:if>
					<xsl:if test="fmodel/element/preStrain">
						<fox:outline internal-destination="preStrains">
							<fox:label>Elements Pre-Strains</fox:label>
						</fox:outline>
					</xsl:if>
					<xsl:if test="fmodel/element/elasticConnection">
						<fox:outline internal-destination="elasticConnections">
							<fox:label>Elastic Connections</fox:label>
						</fox:outline>
					</xsl:if>
					<xsl:if test="fmodel/element/iniEqForce">
						<fox:outline internal-destination="iniEqForce">
							<fox:label>Elements Initial Equivalent Nodal Force</fox:label>
						</fox:outline>
					</xsl:if>
				</fox:outline>
				<xsl:if test="$processed = 1">
					<fox:outline internal-destination="outputData">
						<fox:label>Output Data</fox:label>
						<xsl:if test="fmodel/node/Displacement">
							<fox:outline internal-destination="Displacement">
								<fox:label>Nodal Displacements</fox:label>
							</fox:outline>
						</xsl:if>
						<xsl:if test="fmodel/node/reactions">
							<fox:outline internal-destination="reactions">
								<fox:label>Reactions on Inelastic Supports</fox:label>
							</fox:outline>
						</xsl:if>
						<xsl:if test="fmodel/node/elaReactions">
							<fox:outline internal-destination="elaReactions">
								<fox:label>Reactions on Elastic Supports</fox:label>
							</fox:outline>
						</xsl:if>
						<xsl:if test="fmodel/element/actionsAtExtremities">
							<fox:outline internal-destination="actionsAtExtremities">
								<fox:label>Actions at Elements Extremities</fox:label>
							</fox:outline>
						</xsl:if>
					</fox:outline>
				</xsl:if>
				<!-- End of PDF Bookmarks -->
				
				<fo:flow flow-name="xsl-region-body">
					
					<!-- Header -->
					<fo:table table-layout="fixed" text-align-last="end" id="title">
						<fo:table-column column-width="4cm"/>
						<fo:table-column column-width="9cm"/>
						<fo:table-column column-width="4cm"/>
						<fo:table-body>
							<fo:table-row>
								<fo:table-cell>
									<fo:external-graphic src="lib/Insane2.jpg" height="2.5cm" width="4cm" />
								</fo:table-cell>
								<fo:table-cell display-align="center">
									<fo:block font-size="22pt" font-weight="bold" text-align="center">INSANE RELATORY</fo:block>
								</fo:table-cell>
								<fo:table-cell/>
							</fo:table-row>
						</fo:table-body>
					</fo:table>
					<!-- End of Header -->
					
					<fo:block space-before="8pt">
						<fo:leader leader-pattern="rule" leader-length="17cm"/>
					</fo:block>
					
					<!-- File, Date and Time -->
					<fo:block space-before="8pt" id="fileAttributes">
					<fo:table table-layout="fixed">
						<fo:table-column column-width="50pt"/>
						<fo:table-column column-width="100pt"/>
						<fo:table-body>
							<fo:table-row>
								<fo:table-cell padding-before="1pt" padding-after="1pt">
									<fo:block font-size="12pt" font-weight="bold">File:</fo:block>
								</fo:table-cell>
								<fo:table-cell padding-before="1pt" padding-after="1pt">
									<fo:block font-size="12pt"><xsl:value-of select="filename"/></fo:block>
								</fo:table-cell>
							</fo:table-row>
							<fo:table-row>
								<fo:table-cell padding-before="1pt" padding-after="1pt">
									<fo:block font-size="12pt" font-weight="bold">Date:</fo:block>
								</fo:table-cell>
								<fo:table-cell padding-before="1pt" padding-after="1pt">
									<fo:block font-size="12pt"><xsl:value-of select="date"/></fo:block>
								</fo:table-cell>
							</fo:table-row>
							<fo:table-row>
								<fo:table-cell padding-before="1pt" padding-after="1pt">
									<fo:block font-size="12pt" font-weight="bold">Time:</fo:block>
								</fo:table-cell>
								<fo:table-cell padding-before="1pt" padding-after="1pt">
									<fo:block font-size="12pt"><xsl:value-of select="time"/></fo:block>
								</fo:table-cell>
							</fo:table-row>
						</fo:table-body>
					</fo:table>
					</fo:block>
					<!-- End of File, Date and Time -->
					
					<fo:block>
						<fo:leader leader-pattern="rule" leader-length="17cm"/>
					</fo:block>
					
					<!-- Model drawing -->
					<fo:block text-align="center" space-before="8pt" space-after="5pt" id="modelDrawing">
						<fo:external-graphic src="temp/drawing.jpg" height="12cm" width="15cm" />
					</fo:block>
					<!-- End of Model drawing -->
					
					<fo:block>
						<fo:leader leader-pattern="rule" leader-length="17cm"/>
					</fo:block>
					
					<!-- Model attributes -->
					<fo:block font-size="16pt" font-weight="bold" space-before="10pt" space-after="10pt" id="modelAttributes">
						Model Attributes
					</fo:block>
					<fo:table table-layout="fixed">
						<fo:table-column column-width="190pt"/>
						<fo:table-column column-width="100pt"/>
						<fo:table-body>
							<fo:table-row>
								<fo:table-cell padding-before="1pt" padding-after="1pt">
									<fo:block font-size="12pt" font-weight="bold">Number of Nodes:</fo:block>
								</fo:table-cell>
								<fo:table-cell padding-before="1pt" padding-after="1pt">
									<fo:block font-size="12pt"><xsl:value-of select="fmodel/numNodes"/></fo:block>
								</fo:table-cell>
							</fo:table-row>
							<fo:table-row>
								<fo:table-cell padding-before="1pt" padding-after="1pt">
									<fo:block font-size="12pt" font-weight="bold">Number of Elements:</fo:block>
								</fo:table-cell>
								<fo:table-cell padding-before="1pt" padding-after="1pt">
									<fo:block font-size="12pt"><xsl:value-of select="fmodel/numElements"/></fo:block>
								</fo:table-cell>
							</fo:table-row>
							<fo:table-row>
								<fo:table-cell padding-before="1pt" padding-after="1pt">
									<fo:block font-size="12pt" font-weight="bold">Number of Materials:</fo:block>
								</fo:table-cell>
								<fo:table-cell padding-before="1pt" padding-after="1pt">
									<fo:block font-size="12pt"><xsl:value-of select="fmodel/numMaterials"/></fo:block>
								</fo:table-cell>
							</fo:table-row>
							<fo:table-row>
								<fo:table-cell padding-before="1pt" padding-after="1pt">
									<fo:block font-size="12pt" font-weight="bold">Number of Cross Sections:</fo:block>
								</fo:table-cell>
								<fo:table-cell padding-before="1pt" padding-after="1pt">
									<fo:block font-size="12pt"><xsl:value-of select="fmodel/numSections"/></fo:block>
								</fo:table-cell>
							</fo:table-row>
							<fo:table-row>
								<fo:table-cell padding-before="1pt" padding-after="1pt">
									<fo:block font-size="12pt" font-weight="bold">Global Analysis Model:</fo:block>
								</fo:table-cell>
								<fo:table-cell padding-before="1pt" padding-after="1pt">
									<fo:block font-size="12pt">
										<xsl:if test="$gAnl='PlaneFrame'">Plane Frame</xsl:if>
										<xsl:if test="$gAnl='PlaneTruss'">Plane Truss</xsl:if>
										<xsl:if test="$gAnl='Grid'">Grid</xsl:if>
										<xsl:if test="$gAnl='Beam'">Beam</xsl:if>
										<xsl:if test="$gAnl='SpaceTruss'">Space Truss</xsl:if>
										<xsl:if test="$gAnl='SpaceFrame'">Space Frame</xsl:if>
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
							<fo:table-row>
								<fo:table-cell padding-before="1pt" padding-after="1pt">
									<fo:block font-size="12pt" font-weight="bold">Processed:</fo:block>
								</fo:table-cell>
								<fo:table-cell padding-before="1pt" padding-after="1pt">
									<fo:block font-size="12pt">
										<xsl:if test="$processed = 1">Yes</xsl:if>
										<xsl:if test="not($processed = 1)">No</xsl:if>
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
							<xsl:if test="$processed = 1">
								<fo:table-row>
									<fo:table-cell padding-before="1pt" padding-after="1pt">
										<fo:block font-size="12pt" font-weight="bold">Number of Equations:</fo:block>
									</fo:table-cell>
									<fo:table-cell padding-before="1pt" padding-after="1pt">
										<fo:block font-size="12pt"><xsl:value-of select="fmodel/numEquations"/></fo:block>
									</fo:table-cell>
								</fo:table-row>
							</xsl:if>
							<xsl:if test="$processed = 1">
								<fo:table-row>
									<fo:table-cell padding-before="1pt" padding-after="1pt">
										<fo:block font-size="12pt" font-weight="bold">Number of Restraints:</fo:block>
									</fo:table-cell>
									<fo:table-cell padding-before="1pt" padding-after="1pt">
										<fo:block font-size="12pt"><xsl:value-of select="fmodel/numRestraints"/></fo:block>
									</fo:table-cell>
								</fo:table-row>
							</xsl:if>
						</fo:table-body>
					</fo:table>
					<!-- End of Model attributes -->
					
					<!-- Input data (starting in a new page) -->
					<xsl:if test="fmodel/node">
						<fo:block break-before="page" font-size="16pt" font-weight="bold" space-after="10pt" id="inputData">
							Input Data
						</fo:block>
						
						<!-- Materials List -->
						<xsl:if test="fmodel/material">
							<fo:block font-size="12pt" font-weight="bold" space-after="15pt" id="materials">
								Materials List
								
								<xsl:variable name="colElasticity">
									<xsl:choose>
										<xsl:when test="fmodel/material/elasticity">
											<xsl:text>1</xsl:text>
										</xsl:when>
										<xsl:when test="not(fmodel/material/elasticity)">
											<xsl:text/>
										</xsl:when>
									</xsl:choose>
								</xsl:variable>
								<xsl:variable name="colG">
									<xsl:choose>
										<xsl:when test="fmodel/material/g">
											<xsl:text>1</xsl:text>
										</xsl:when>
										<xsl:when test="not(fmodel/material/g)">
											<xsl:text/>
										</xsl:when>
									</xsl:choose>
								</xsl:variable>
								<xsl:variable name="colPoisson">
									<xsl:choose>
										<xsl:when test="fmodel/material/poisson">
											<xsl:text>1</xsl:text>
										</xsl:when>
										<xsl:when test="not(fmodel/material/poisson)">
											<xsl:text/>
										</xsl:when>
									</xsl:choose>
								</xsl:variable>
								<xsl:variable name="colThermalCoeff">
									<xsl:choose>
										<xsl:when test="fmodel/material/thermalCoeff">
											<xsl:text>1</xsl:text>
										</xsl:when>
										<xsl:when test="not(fmodel/material/thermalCoeff)">
											<xsl:text/>
										</xsl:when>
									</xsl:choose>
								</xsl:variable>
								
								<fo:table table-layout="fixed" space-before="3pt">
									<fo:table-column column-width="80pt"/>
									<xsl:if test="$colElasticity='1'">
										<fo:table-column column-width="80pt"/>
									</xsl:if>
									<xsl:if test="$colG='1'">
										<fo:table-column column-width="80pt"/>
									</xsl:if>
									<xsl:if test="$colPoisson='1'">
										<fo:table-column column-width="80pt"/>
									</xsl:if>
									<xsl:if test="$colThermalCoeff='1'">
										<fo:table-column column-width="80pt"/>
									</xsl:if>
									<fo:table-header>
										<fo:table-row background-color="lightgrey">
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Material</fo:block>
											</fo:table-cell>
											<xsl:if test="$colElasticity='1'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">E</fo:block>
													</fo:table-cell>
											</xsl:if>
											<xsl:if test="$colG='1'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">G</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$colPoisson='1'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Poisson</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$colThermalCoeff='1'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Thermal Coeff.</fo:block>
												</fo:table-cell>
											</xsl:if>
										</fo:table-row>
									</fo:table-header>
									<fo:table-body>
										<xsl:for-each select="fmodel/material">
											<fo:table-row>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="label"/></fo:block>
												</fo:table-cell>
												<xsl:if test="$colElasticity='1'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="elasticity"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$colG='1'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="g"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$colPoisson='1'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="poisson"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$colThermalCoeff='1'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="thermalCoeff"/></fo:block>
													</fo:table-cell>
												</xsl:if>
											</fo:table-row>
										</xsl:for-each>
										
									</fo:table-body>
								</fo:table>
							</fo:block>
						</xsl:if>
						<!-- End of Materials List -->
						
						<!-- Cross Sections List -->
						<xsl:if test="fmodel/section">
							<fo:block font-size="12pt" font-weight="bold" space-after="15pt" id="sections">
								Cross Sections List
								
								<xsl:variable name="colIx">
									<xsl:choose>
										<xsl:when test="fmodel/section/ix">
											<xsl:text>1</xsl:text>
										</xsl:when>
										<xsl:when test="not(fmodel/section/ix)">
											<xsl:text/>
										</xsl:when>
									</xsl:choose>
								</xsl:variable>
								<xsl:variable name="colIy">
									<xsl:choose>
										<xsl:when test="fmodel/section/iy">
											<xsl:text>1</xsl:text>
										</xsl:when>
										<xsl:when test="not(fmodel/section/iy)">
											<xsl:text/>
										</xsl:when>
									</xsl:choose>
								</xsl:variable>
								<xsl:variable name="colIz">
									<xsl:choose>
										<xsl:when test="fmodel/section/iz">
											<xsl:text>1</xsl:text>
										</xsl:when>
										<xsl:when test="not(fmodel/section/iz)">
											<xsl:text/>
										</xsl:when>
									</xsl:choose>
								</xsl:variable>
								<xsl:variable name="colArea">
									<xsl:choose>
										<xsl:when test="fmodel/section/area">
											<xsl:text>1</xsl:text>
										</xsl:when>
										<xsl:when test="not(fmodel/section/area)">
											<xsl:text/>
										</xsl:when>
									</xsl:choose>
								</xsl:variable>
								<xsl:variable name="colHeight">
									<xsl:choose>
										<xsl:when test="fmodel/section/height">
											<xsl:text>1</xsl:text>
										</xsl:when>
										<xsl:when test="not(fmodel/section/height)">
											<xsl:text/>
										</xsl:when>
									</xsl:choose>
								</xsl:variable>
								
								<fo:table table-layout="fixed" space-before="3pt">
									<fo:table-column column-width="80pt"/>
									<xsl:if test="$colIx='1'">
										<fo:table-column column-width="80pt"/>
									</xsl:if>
									<xsl:if test="$colIy='1'">
										<fo:table-column column-width="80pt"/>
									</xsl:if>
									<xsl:if test="$colIz='1'">
										<fo:table-column column-width="80pt"/>
									</xsl:if>
									<xsl:if test="$colArea='1'">
										<fo:table-column column-width="80pt"/>
									</xsl:if>
									<xsl:if test="$colHeight='1'">
										<fo:table-column column-width="80pt"/>
									</xsl:if>
									<fo:table-header>
										<fo:table-row background-color="lightgrey">
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Cross Section</fo:block>
											</fo:table-cell>
											<xsl:if test="$colIx='1'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Ix</fo:block>
													</fo:table-cell>
											</xsl:if>
											<xsl:if test="$colIy='1'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Iy</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$colIz='1'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Iz</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$colArea='1'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Area</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$colHeight='1'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Height</fo:block>
												</fo:table-cell>
											</xsl:if>
										</fo:table-row>
									</fo:table-header>
									<fo:table-body>
										<xsl:for-each select="fmodel/section">
											<fo:table-row>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="label"/></fo:block>
												</fo:table-cell>
												<xsl:if test="$colIx='1'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="ix"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$colIy='1'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="iy"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$colIz='1'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="iz"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$colArea='1'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="area"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$colHeight='1'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="height"/></fo:block>
													</fo:table-cell>
												</xsl:if>
											</fo:table-row>
										</xsl:for-each>
										
									</fo:table-body>
								</fo:table>
							</fo:block>
						</xsl:if>
						<!-- End of Cross Sections List -->
						
						<!-- Nodal coordinates and angle -->
						<xsl:if test="fmodel/node">
							<fo:block font-size="12pt" font-weight="bold" space-after="15pt" id="coordinates">
								Nodal Coordinates and Angle
								
								<fo:table table-layout="fixed" space-before="3pt">
									<fo:table-column column-width="80pt"/>
									<fo:table-column column-width="80pt"/>
									<fo:table-column column-width="80pt"/>
									<fo:table-column column-width="80pt"/>
									<fo:table-column column-width="80pt"/>
									<fo:table-header>
										<fo:table-row background-color="lightgrey">
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Node</fo:block>
											</fo:table-cell>
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">X</fo:block>
											</fo:table-cell>
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Y</fo:block>
											</fo:table-cell>
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Z</fo:block>
											</fo:table-cell>
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Angle</fo:block>
											</fo:table-cell>
										</fo:table-row>
									</fo:table-header>
									<fo:table-body>
										<xsl:for-each select="fmodel/node">
											<fo:table-row>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="label"/></fo:block>
												</fo:table-cell>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="x"/></fo:block>
												</fo:table-cell>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="y"/></fo:block>
												</fo:table-cell>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="z"/></fo:block>
												</fo:table-cell>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="angle"/></fo:block>
												</fo:table-cell>
											</fo:table-row>
										</xsl:for-each>
										
									</fo:table-body>
								</fo:table>
							</fo:block>
						</xsl:if>
						<!-- End of  Nodal coordinates and angle -->
						
						<!-- Elements' incidence, material, cross section and analysis model -->
						<xsl:if test="fmodel/element">
							<fo:block font-size="12pt" font-weight="bold" space-after="15pt" id="elements">
								Elements Attributes
								
								<fo:table table-layout="fixed" space-before="3pt">
									<fo:table-column column-width="80pt"/>
									<fo:table-column column-width="80pt"/>
									<fo:table-column column-width="80pt"/>
									<fo:table-column column-width="80pt"/>
									<fo:table-column column-width="80pt"/>
									<fo:table-column column-width="88pt"/>
									<fo:table-header>
										<fo:table-row background-color="lightgrey">
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Element</fo:block>
											</fo:table-cell>
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Initial Node</fo:block>
											</fo:table-cell>
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Final Node</fo:block>
											</fo:table-cell>
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Material</fo:block>
											</fo:table-cell>
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Cross Section</fo:block>
											</fo:table-cell>
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Analysis Model</fo:block>
											</fo:table-cell>
										</fo:table-row>
									</fo:table-header>
									<fo:table-body>
										<xsl:for-each select="fmodel/element">
											<fo:table-row>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="label"/></fo:block>
												</fo:table-cell>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="initialNode"/></fo:block>
												</fo:table-cell>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="finalNode"/></fo:block>
												</fo:table-cell>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="myMaterial"/></fo:block>
												</fo:table-cell>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="myCrossSection"/></fo:block>
												</fo:table-cell>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">
														<xsl:if test="myAnalysisModel='PlaneFrame'">Plane Frame</xsl:if>
														<xsl:if test="myAnalysisModel='PlaneTruss'">Plane Truss</xsl:if>
														<xsl:if test="myAnalysisModel='Grid'">Grid</xsl:if>
														<xsl:if test="myAnalysisModel='Beam'">Beam</xsl:if>
														<xsl:if test="myAnalysisModel='SpaceTruss'">Space Truss</xsl:if>
														<xsl:if test="myAnalysisModel='SpaceFrame'">Space Frame</xsl:if>
													</fo:block>
												</fo:table-cell>
											</fo:table-row>
										</xsl:for-each>
										
									</fo:table-body>
								</fo:table>
							</fo:block>
						</xsl:if>
						<!-- End of Elements' incidence, material, cross section and analysis model -->
						
						<!-- Nodal restraints -->
						<xsl:if test="fmodel/node/restraint">
							<fo:block font-size="12pt" font-weight="bold" space-after="15pt" id="restraint">
								Nodal Restraints
								
								<fo:table table-layout="fixed" space-before="3pt">
									<xsl:if test="not($gAnl='SpaceFrame')">
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
									</xsl:if>
									<xsl:if test="$gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss'">
										<fo:table-column column-width="80pt"/>
									</xsl:if>
									<xsl:if test="$gAnl='SpaceFrame'">
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
									</xsl:if>
									<fo:table-header>
										<fo:table-row background-color="lightgrey">
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Node</fo:block>
											</fo:table-cell>
											<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Dx</fo:block>
												</fo:table-cell>
											</xsl:if>
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Dy</fo:block>
											</fo:table-cell>
											<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Dz</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Rx</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='SpaceTruss'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Ry</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Rz</fo:block>
												</fo:table-cell>
											</xsl:if>
										</fo:table-row>
									</fo:table-header>
									<fo:table-body>
										<xsl:for-each select="fmodel/node/restraint">
											<fo:table-row>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="../label"/></fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="dx"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="dy"/></fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="dz"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="rx"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="ry"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="rz"/></fo:block>
													</fo:table-cell>
												</xsl:if>
											</fo:table-row>
										</xsl:for-each>
										
									</fo:table-body>
								</fo:table>
							</fo:block>
						</xsl:if>
						<!-- End of Nodal restraints -->
						
						<!-- Nodal Loads -->
						<xsl:if test="fmodel/node/force">
							<fo:block font-size="12pt" font-weight="bold" space-after="15pt" id="nodalLoads">
								Nodal Loads
								
								<fo:table table-layout="fixed" space-before="3pt">
									<xsl:if test="not($gAnl='SpaceFrame')">
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
									</xsl:if>
									<xsl:if test="$gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss'">
										<fo:table-column column-width="80pt"/>
									</xsl:if>
									<xsl:if test="$gAnl='SpaceFrame'">
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
									</xsl:if>
									<fo:table-header>
										<fo:table-row background-color="lightgrey">
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Node</fo:block>
											</fo:table-cell>
											<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Fx</fo:block>
												</fo:table-cell>
											</xsl:if>
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Fy</fo:block>
											</fo:table-cell>
											<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Fz</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Mx</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='SpaceTruss'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">My</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Mz</fo:block>
												</fo:table-cell>
											</xsl:if>
										</fo:table-row>
									</fo:table-header>
									<fo:table-body>
										<xsl:for-each select="fmodel/node/force">
											<fo:table-row>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="../label"/></fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="fx"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="fy"/></fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="fz"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="mx"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="my"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="mz"/></fo:block>
													</fo:table-cell>
												</xsl:if>
											</fo:table-row>
										</xsl:for-each>
										
									</fo:table-body>
								</fo:table>
							</fo:block>
						</xsl:if>
						<!-- End of Nodal Loads -->
						
						<!-- Elastic Supports -->
						<xsl:if test="fmodel/node/spring">
							<fo:block font-size="12pt" font-weight="bold" space-after="15pt" id="elasticSupports">
								Elastic Supports
								
								<fo:table table-layout="fixed" space-before="3pt">
									<xsl:if test="not($gAnl='SpaceFrame')">
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
									</xsl:if>
									<xsl:if test="$gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss'">
										<fo:table-column column-width="80pt"/>
									</xsl:if>
									<xsl:if test="$gAnl='SpaceFrame'">
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
									</xsl:if>
									<fo:table-header>
										<fo:table-row background-color="lightgrey">
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Node</fo:block>
											</fo:table-cell>
											<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Dx</fo:block>
												</fo:table-cell>
											</xsl:if>
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Dy</fo:block>
											</fo:table-cell>
											<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Dz</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Rx</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='SpaceTruss'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Ry</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Rz</fo:block>
												</fo:table-cell>
											</xsl:if>
										</fo:table-row>
									</fo:table-header>
									<fo:table-body>
										<xsl:for-each select="fmodel/node/spring">
											<fo:table-row>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="../label"/></fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="dx"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="dy"/></fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="dz"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="rx"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="ry"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="rz"/></fo:block>
													</fo:table-cell>
												</xsl:if>
											</fo:table-row>
										</xsl:for-each>
										
									</fo:table-body>
								</fo:table>
							</fo:block>
						</xsl:if>
						<!-- End of Elastic Supports -->
						
						<!-- Prescribed Displacements -->
						<xsl:if test="fmodel/node/preDisplacement">
							<fo:block font-size="12pt" font-weight="bold" space-after="15pt" id="preDisplacement">
								Prescribed Displacements
								
								<fo:table table-layout="fixed" space-before="3pt">
									<xsl:if test="not($gAnl='SpaceFrame')">
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
									</xsl:if>
									<xsl:if test="$gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss'">
										<fo:table-column column-width="80pt"/>
									</xsl:if>
									<xsl:if test="$gAnl='SpaceFrame'">
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
									</xsl:if>
									<fo:table-header>
										<fo:table-row background-color="lightgrey">
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Node</fo:block>
											</fo:table-cell>
											<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Dx</fo:block>
												</fo:table-cell>
											</xsl:if>
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Dy</fo:block>
											</fo:table-cell>
											<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Dz</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Rx</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='SpaceTruss'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Ry</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Rz</fo:block>
												</fo:table-cell>
											</xsl:if>
										</fo:table-row>
									</fo:table-header>
									<fo:table-body>
										<xsl:for-each select="fmodel/node/preDisplacement">
											<fo:table-row>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="../label"/></fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="dx"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="dy"/></fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="dz"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="rx"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="ry"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="rz"/></fo:block>
													</fo:table-cell>
												</xsl:if>
											</fo:table-row>
										</xsl:for-each>
										
									</fo:table-body>
								</fo:table>
							</fo:block>
						</xsl:if>
						<!-- End of Prescribed Displacements -->
						
						<!-- Concentrated Loads on Elements -->
						<xsl:if test="fmodel/element/concLoad">
							<fo:block font-size="12pt" font-weight="bold" space-after="15pt" id="concLoad">
								Concentrated Loads on Elements
								
								<fo:table table-layout="fixed" space-before="3pt">
									<xsl:if test="not($gAnl='SpaceFrame')">
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
									</xsl:if>
									<xsl:if test="$gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss'">
										<fo:table-column column-width="65pt"/>
									</xsl:if>
									<xsl:if test="$gAnl='SpaceFrame'">
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
									</xsl:if>
									<fo:table-header>
										<fo:table-row background-color="lightgrey">
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Element</fo:block>
											</fo:table-cell>
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">A</fo:block>
											</fo:table-cell>
											<xsl:if test="$gAnl='PlaneFrame' or $gAnl='PlaneTruss' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Fx</fo:block>
												</fo:table-cell>
											</xsl:if>
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Fy</fo:block>
											</fo:table-cell>
											<xsl:if test="$gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Fz</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Mx</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">My</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='PlaneFrame'or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Mz</fo:block>
												</fo:table-cell>
											</xsl:if>
										</fo:table-row>
									</fo:table-header>
									<fo:table-body>
										<xsl:for-each select="fmodel/element/concLoad">
											<fo:table-row>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="../label"/></fo:block>
												</fo:table-cell>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="a"/></fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='PlaneFrame' or $gAnl='PlaneTruss' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="fx"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="fy"/></fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="fz"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="mx"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="my"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="mz"/></fo:block>
													</fo:table-cell>
												</xsl:if>
											</fo:table-row>
										</xsl:for-each>
										
									</fo:table-body>
								</fo:table>
							</fo:block>
						</xsl:if>
						<!-- End of Concentrated Loads on Elements -->
						
						<!-- Distributed Loads on Elements -->
						<xsl:if test="fmodel/element/distLoad">
							<fo:block font-size="12pt" font-weight="bold" space-after="15pt" id="distLoad">
								Distributed Loads on Elements
								
								<fo:table table-layout="fixed" space-before="3pt">
									<xsl:if test="not($gAnl='SpaceFrame')">
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
									</xsl:if>
									<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='Grid'">
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
									</xsl:if>
									<xsl:if test="$gAnl='SpaceTruss'">
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
									</xsl:if>
									<xsl:if test="$gAnl='SpaceFrame'">
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
									</xsl:if>
									<fo:table-header>
										<fo:table-row background-color="lightgrey">
											<fo:table-cell border-style="none" number-columns-spanned="3" background-color="white">
												<fo:block></fo:block>
											</fo:table-cell>
											<xsl:if test="$gAnl='Beam'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Force at A</fo:block>
												</fo:table-cell>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Force at B</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='PlaneTruss' or $gAnl='Grid' or $gAnl='PlaneFrame'">
												<fo:table-cell number-columns-spanned="2" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Force at A</fo:block>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="2" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Force at B</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='SpaceTruss'">
												<fo:table-cell number-columns-spanned="3" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Force at A</fo:block>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="3" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Force at B</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='SpaceFrame'">
												<fo:table-cell number-columns-spanned="4" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Force at A</fo:block>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="4" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Force at B</fo:block>
												</fo:table-cell>
											</xsl:if>
										</fo:table-row>
										<fo:table-row background-color="lightgrey">
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Element</fo:block>
											</fo:table-cell>
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">A</fo:block>
											</fo:table-cell>
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">B</fo:block>
											</fo:table-cell>
											<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Fx</fo:block>
												</fo:table-cell>
											</xsl:if>
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Fy</fo:block>
											</fo:table-cell>
											<xsl:if test="$gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Fz</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Mx</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Fx</fo:block>
												</fo:table-cell>
											</xsl:if>
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Fy</fo:block>
											</fo:table-cell>
											<xsl:if test="$gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Fz</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Mx</fo:block>
												</fo:table-cell>
											</xsl:if>
										</fo:table-row>
									</fo:table-header>
									<fo:table-body>
										<xsl:for-each select="fmodel/element/distLoad">
											<fo:table-row>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="../label"/></fo:block>
												</fo:table-cell>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="a"/></fo:block>
												</fo:table-cell>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="b"/></fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="fxa"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="fya"/></fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="fza"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="mxa"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="fxb"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="fyb"/></fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="fzb"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="mxb"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												
											</fo:table-row>
										</xsl:for-each>
										
									</fo:table-body>
								</fo:table>
							</fo:block>
						</xsl:if>
						<!-- End of Distributed Loads on Elements -->
						
						<!-- Elements Temperature Changes -->
						<xsl:if test="fmodel/element/tempChanges">
							<fo:block font-size="12pt" font-weight="bold" space-after="15pt" id="tempChanges">
								Temperature Changes at Elements
								
								<fo:table table-layout="fixed" space-before="3pt">
									<fo:table-column column-width="80pt"/>
									<fo:table-column column-width="80pt"/>
									<xsl:if test="$gAnl='Grid' or $gAnl='Beam'">
										<fo:table-column column-width="80pt"/>
									</xsl:if>
									<xsl:if test="$gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="80pt"/>
									</xsl:if>
									<fo:table-header>
										<fo:table-row background-color="lightgrey">
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Element</fo:block>
											</fo:table-cell>
											<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Ts</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Tn</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Ti</fo:block>
												</fo:table-cell>
											</xsl:if>
										</fo:table-row>
									</fo:table-header>
									<fo:table-body>
										<xsl:for-each select="fmodel/element/tempChanges">
											<fo:table-row>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="../label"/></fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="ts"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="tn"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="ti"/></fo:block>
													</fo:table-cell>
												</xsl:if>
											</fo:table-row>
										</xsl:for-each>
										
									</fo:table-body>
								</fo:table>
							</fo:block>
						</xsl:if>
						<!-- End of Elements Temperature Changes -->
						
						<!-- Liberations at Elements Extremities -->
						<xsl:if test="fmodel/element/liberation">
							<fo:block font-size="12pt" font-weight="bold" space-after="15pt" id="liberations">
								Liberations at Elements Extremities
								
								<fo:table table-layout="fixed" space-before="3pt">
									<xsl:if test="not($gAnl='SpaceFrame')">
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
									</xsl:if>
									<xsl:if test="$gAnl='Grid' or $gAnl='PlaneFrame'">
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
									</xsl:if>
									<xsl:if test="$gAnl='SpaceFrame'">
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
									</xsl:if>
									<fo:table-header>
										<fo:table-row background-color="lightgrey">
											<fo:table-cell background-color="white" border-style="none">
												<fo:block font-size="10pt" font-weight="bold" text-align="center"></fo:block>
											</fo:table-cell>
											<xsl:if test="$gAnl='Beam'">
												<fo:table-cell number-columns-spanned="2" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Initial Node</fo:block>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="2" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Final Node</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='PlaneFrame' or $gAnl='Grid'">
												<fo:table-cell number-columns-spanned="3" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Initial Node</fo:block>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="3" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Final Node</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='SpaceFrame'">
												<fo:table-cell number-columns-spanned="6" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Initial Node</fo:block>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="6" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Final Node</fo:block>
												</fo:table-cell>
											</xsl:if>
										</fo:table-row>
										<fo:table-row background-color="lightgrey">
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Element</fo:block>
											</fo:table-cell>
											<xsl:if test="$gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Dx</fo:block>
												</fo:table-cell>
											</xsl:if>
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Dy</fo:block>
											</fo:table-cell>
											<xsl:if test="$gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Dz</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Rx</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Rz</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='PlaneFrame'or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Dx</fo:block>
												</fo:table-cell>
											</xsl:if>
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Dy</fo:block>
											</fo:table-cell>
											<xsl:if test="$gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Dz</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Rx</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Rz</fo:block>
												</fo:table-cell>
											</xsl:if>
										</fo:table-row>
									</fo:table-header>
									<fo:table-body>
										<xsl:for-each select="fmodel/element/liberation">
											<fo:table-row>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="../label"/></fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="dx1"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="dy1"/></fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="dz1"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="rx1"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="ry1"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="rz1"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="dx2"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="dy2"/></fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="dz2"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="rx2"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="ry2"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="rz2"/></fo:block>
													</fo:table-cell>
												</xsl:if>
											</fo:table-row>
										</xsl:for-each>
										
									</fo:table-body>
								</fo:table>
							</fo:block>
						</xsl:if>
						<!-- End of Liberations at Elements Extremities -->
						
						<!-- Elements Pre-Strains -->
						<xsl:if test="fmodel/element/preStrain">
							<fo:block font-size="12pt" font-weight="bold" space-after="15pt" id="preStrains">
								Elements Pre-Strains
								
								<fo:table table-layout="fixed" space-before="3pt">
									<xsl:if test="not($gAnl='SpaceFrame')">
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
									</xsl:if>
									<xsl:if test="$gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss'">
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
									</xsl:if>
									<xsl:if test="$gAnl='SpaceFrame'">
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
									</xsl:if>
									<fo:table-header>
										<fo:table-row background-color="lightgrey">
											<fo:table-cell background-color="white" border-style="none">
												<fo:block font-size="10pt" font-weight="bold" text-align="center"></fo:block>
											</fo:table-cell>
											<xsl:if test="$gAnl='PlaneTruss' or $gAnl='Beam'">
												<fo:table-cell number-columns-spanned="2" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Initial Node</fo:block>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="2" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Final Node</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='SpaceTruss' or $gAnl='PlaneFrame' or $gAnl='Grid'">
												<fo:table-cell number-columns-spanned="3" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Initial Node</fo:block>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="3" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Final Node</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='SpaceFrame'">
												<fo:table-cell number-columns-spanned="6" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Initial Node</fo:block>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="6" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Final Node</fo:block>
												</fo:table-cell>
											</xsl:if>
										</fo:table-row>
										<fo:table-row background-color="lightgrey">
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Element</fo:block>
											</fo:table-cell>
											<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Dx</fo:block>
												</fo:table-cell>
											</xsl:if>
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Dy</fo:block>
											</fo:table-cell>
											<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Dz</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Rx</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='SpaceTruss'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Ry</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Rz</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Dx</fo:block>
												</fo:table-cell>
											</xsl:if>
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Dy</fo:block>
											</fo:table-cell>
											<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Dz</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Rx</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='SpaceTruss'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Ry</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Rz</fo:block>
												</fo:table-cell>
											</xsl:if>
										</fo:table-row>
									</fo:table-header>
									<fo:table-body>
										<xsl:for-each select="fmodel/element/preStrain">
											<fo:table-row>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="../label"/></fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="dx1"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="dy1"/></fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="dz1"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="rx1"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="ry1"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="rz1"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="dx2"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="dy2"/></fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="dz2"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="rx2"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="ry2"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="rz2"/></fo:block>
													</fo:table-cell>
												</xsl:if>
											</fo:table-row>
										</xsl:for-each>
										
									</fo:table-body>
								</fo:table>
							</fo:block>
						</xsl:if>
						<!-- End of Elements Pre-Strains -->
						
						<!-- Elements Elastic Connections -->
						<xsl:if test="fmodel/element/elasticConnection">
							<fo:block font-size="12pt" font-weight="bold" space-after="15pt" id="elasticConnections">
								Elements Elastic Connections
								
								<fo:table table-layout="fixed" space-before="3pt">
									<xsl:if test="not($gAnl='SpaceFrame')">
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
									</xsl:if>
									<xsl:if test="$gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss'">
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
									</xsl:if>
									<xsl:if test="$gAnl='SpaceFrame'">
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
									</xsl:if>
									<fo:table-header>
										<fo:table-row background-color="lightgrey">
											<fo:table-cell background-color="white" border-style="none">
												<fo:block font-size="10pt" font-weight="bold" text-align="center"></fo:block>
											</fo:table-cell>
											<xsl:if test="$gAnl='PlaneTruss' or $gAnl='Beam'">
												<fo:table-cell number-columns-spanned="2" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Initial Node</fo:block>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="2" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Final Node</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='SpaceTruss' or $gAnl='PlaneFrame' or $gAnl='Grid'">
												<fo:table-cell number-columns-spanned="3" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Initial Node</fo:block>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="3" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Final Node</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='SpaceFrame'">
												<fo:table-cell number-columns-spanned="6" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Initial Node</fo:block>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="6" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Final Node</fo:block>
												</fo:table-cell>
											</xsl:if>
										</fo:table-row>
										<fo:table-row background-color="lightgrey">
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Element</fo:block>
											</fo:table-cell>
											<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Kdx</fo:block>
												</fo:table-cell>
											</xsl:if>
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Kdy</fo:block>
											</fo:table-cell>
											<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Kdz</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Krx</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='SpaceTruss'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Kry</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Krz</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Kdx</fo:block>
												</fo:table-cell>
											</xsl:if>
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Kdy</fo:block>
											</fo:table-cell>
											<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Kdz</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Krx</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='SpaceTruss'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Kry</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Krz</fo:block>
												</fo:table-cell>
											</xsl:if>
										</fo:table-row>
									</fo:table-header>
									<fo:table-body>
										<xsl:for-each select="fmodel/element/elasticConnection">
											<fo:table-row>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="../label"/></fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="kdx1"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="kdy1"/></fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="kdz1"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="krx1"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="kry1"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="krz1"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="kdx2"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="kdy2"/></fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="kdz2"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="krx2"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="kry2"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="krz2"/></fo:block>
													</fo:table-cell>
												</xsl:if>
											</fo:table-row>
										</xsl:for-each>
										
									</fo:table-body>
								</fo:table>
							</fo:block>
						</xsl:if>
						<!-- End of Elements Elastic Connections -->
						
						<!-- Elements Initial Equivalent Nodal Force -->
						<xsl:if test="fmodel/element/iniEqForce">
							<fo:block font-size="12pt" font-weight="bold" space-after="15pt" id="iniEqForce">
								Elements Initial Equivalent Nodal Force
								
								<fo:table table-layout="fixed" space-before="3pt">
									<xsl:if test="not($gAnl='SpaceFrame')">
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
									</xsl:if>
									<xsl:if test="$gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss'">
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
									</xsl:if>
									<xsl:if test="$gAnl='SpaceFrame'">
										<fo:table-column column-width="80pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
										<fo:table-column column-width="65pt"/>
									</xsl:if>
									<fo:table-header>
										<fo:table-row background-color="lightgrey">
											<fo:table-cell background-color="white" border-style="none">
												<fo:block font-size="10pt" font-weight="bold" text-align="center"></fo:block>
											</fo:table-cell>
											<xsl:if test="$gAnl='PlaneTruss' or $gAnl='Beam'">
												<fo:table-cell number-columns-spanned="2" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Initial Node</fo:block>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="2" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Final Node</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='SpaceTruss' or $gAnl='PlaneFrame' or $gAnl='Grid'">
												<fo:table-cell number-columns-spanned="3" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Initial Node</fo:block>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="3" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Final Node</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='SpaceFrame'">
												<fo:table-cell number-columns-spanned="6" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Initial Node</fo:block>
												</fo:table-cell>
												<fo:table-cell number-columns-spanned="6" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Final Node</fo:block>
												</fo:table-cell>
											</xsl:if>
										</fo:table-row>
										<fo:table-row background-color="lightgrey">
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Element</fo:block>
											</fo:table-cell>
											<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Fx</fo:block>
												</fo:table-cell>
											</xsl:if>
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Fy</fo:block>
											</fo:table-cell>
											<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Fz</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Mx</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='SpaceTruss'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">My</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Mz</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Fx</fo:block>
												</fo:table-cell>
											</xsl:if>
											<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
												<fo:block font-size="10pt" font-weight="bold" text-align="center">Fy</fo:block>
											</fo:table-cell>
											<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Fz</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Mx</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='SpaceTruss'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">My</fo:block>
												</fo:table-cell>
											</xsl:if>
											<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Mz</fo:block>
												</fo:table-cell>
											</xsl:if>
										</fo:table-row>
									</fo:table-header>
									<fo:table-body>
										<xsl:for-each select="fmodel/element/iniEqForce">
											<fo:table-row>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="../label"/></fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="fx1"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="fy1"/></fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="fz1"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="mx1"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="my1"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="mz1"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="fx2"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="fy2"/></fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="fz2"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="mx2"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="my2"/></fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="mz2"/></fo:block>
													</fo:table-cell>
												</xsl:if>
											</fo:table-row>
										</xsl:for-each>
										
									</fo:table-body>
								</fo:table>
							</fo:block>
						</xsl:if>
						<!-- End of Elements Initial Equivalent Nodal Force -->
					</xsl:if>
					<!-- End of Input data -->
					
					<xsl:if test="$processed = 1">
						<fo:block space-after="8pt">
							<fo:leader leader-pattern="rule" leader-length="17cm"/>
						</fo:block>
						
						<!-- Output data -->
						<fo:block font-size="16pt" font-weight="bold" space-after="10pt" id="outputData">
							Output Data
						</fo:block>
						
						<xsl:if test="not(fmodel/hypostatic = 'true')">
							<!-- Nodal Displacements -->
							<xsl:if test="fmodel/node/Displacement">
								<fo:block font-size="12pt" font-weight="bold" space-after="15pt" id="Displacement">
									Nodal Displacements
									
									<fo:table table-layout="fixed" space-before="3pt">
										<xsl:if test="not($gAnl='SpaceFrame')">
											<fo:table-column column-width="80pt"/>
											<fo:table-column column-width="80pt"/>
											<fo:table-column column-width="80pt"/>
										</xsl:if>
										<xsl:if test="$gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss'">
											<fo:table-column column-width="80pt"/>
										</xsl:if>
										<xsl:if test="$gAnl='SpaceFrame'">
											<fo:table-column column-width="80pt"/>
											<fo:table-column column-width="80pt"/>
											<fo:table-column column-width="80pt"/>
											<fo:table-column column-width="80pt"/>
											<fo:table-column column-width="80pt"/>
											<fo:table-column column-width="80pt"/>
											<fo:table-column column-width="80pt"/>
										</xsl:if>
										<fo:table-header>
											<fo:table-row background-color="lightgrey">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Node</fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center">Dx</fo:block>
													</fo:table-cell>
												</xsl:if>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Dy</fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center">Dz</fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center">Rx</fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='SpaceTruss'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center">Ry</fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center">Rz</fo:block>
													</fo:table-cell>
												</xsl:if>
											</fo:table-row>
										</fo:table-header>
										<fo:table-body>
											<xsl:for-each select="fmodel/node/Displacement">
												<fo:table-row>
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="../label"/></fo:block>
													</fo:table-cell>
													<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
														<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
															<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="dx"/></fo:block>
														</fo:table-cell>
													</xsl:if>
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="dy"/></fo:block>
													</fo:table-cell>
													<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
														<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
															<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="dz"/></fo:block>
														</fo:table-cell>
													</xsl:if>
													<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
														<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
															<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="rx"/></fo:block>
														</fo:table-cell>
													</xsl:if>
													<xsl:if test="$gAnl='SpaceFrame'">
														<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
															<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="ry"/></fo:block>
														</fo:table-cell>
													</xsl:if>
													<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
														<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
															<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="rz"/></fo:block>
														</fo:table-cell>
													</xsl:if>
												</fo:table-row>
											</xsl:for-each>
											
										</fo:table-body>
									</fo:table>
								</fo:block>
							</xsl:if>
							<!-- End of Nodal Displacements -->
							
							<!-- Reactions on Inelastic Supports -->
							<xsl:if test="fmodel/node/reactions">
								<fo:block font-size="12pt" font-weight="bold" space-after="15pt" id="reactions">
									Reactions on Inelastic Supports
									
									<fo:table table-layout="fixed" space-before="3pt">
										<xsl:if test="not($gAnl='SpaceFrame')">
											<fo:table-column column-width="80pt"/>
											<fo:table-column column-width="80pt"/>
											<fo:table-column column-width="80pt"/>
										</xsl:if>
										<xsl:if test="$gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss'">
											<fo:table-column column-width="80pt"/>
										</xsl:if>
										<xsl:if test="$gAnl='SpaceFrame'">
											<fo:table-column column-width="80pt"/>
											<fo:table-column column-width="80pt"/>
											<fo:table-column column-width="80pt"/>
											<fo:table-column column-width="80pt"/>
											<fo:table-column column-width="80pt"/>
											<fo:table-column column-width="80pt"/>
											<fo:table-column column-width="80pt"/>
										</xsl:if>
										<fo:table-header>
											<fo:table-row background-color="lightgrey">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Element</fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center">Dx</fo:block>
													</fo:table-cell>
												</xsl:if>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Dy</fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center">Dz</fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center">Rx</fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='SpaceTruss'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center">Ry</fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center">Rz</fo:block>
													</fo:table-cell>
												</xsl:if>
											</fo:table-row>
										</fo:table-header>
										<fo:table-body>
											<xsl:for-each select="fmodel/node/reactions">
												<fo:table-row>
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="../label"/></fo:block>
													</fo:table-cell>
													<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
														<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
															<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="dx"/></fo:block>
														</fo:table-cell>
													</xsl:if>
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="dy"/></fo:block>
													</fo:table-cell>
													<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
														<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
															<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="dz"/></fo:block>
														</fo:table-cell>
													</xsl:if>
													<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
														<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
															<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="rx"/></fo:block>
														</fo:table-cell>
													</xsl:if>
													<xsl:if test="$gAnl='SpaceFrame'">
														<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
															<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="ry"/></fo:block>
														</fo:table-cell>
													</xsl:if>
													<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
														<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
															<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="rz"/></fo:block>
														</fo:table-cell>
													</xsl:if>
												</fo:table-row>
											</xsl:for-each>
											
										</fo:table-body>
									</fo:table>
								</fo:block>
							</xsl:if>
							<!-- End of Reactions on Inelastic Supports -->
							
							<!-- Reactions on Elastic Supports -->
							<xsl:if test="fmodel/node/elaReactions">
								<fo:block font-size="12pt" font-weight="bold" space-after="15pt" id="elaReactions">
									Reactions on Elastic Supports
									
									<fo:table table-layout="fixed" space-before="3pt">
										<xsl:if test="not($gAnl='SpaceFrame')">
											<fo:table-column column-width="80pt"/>
											<fo:table-column column-width="80pt"/>
											<fo:table-column column-width="80pt"/>
										</xsl:if>
										<xsl:if test="$gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss'">
											<fo:table-column column-width="80pt"/>
										</xsl:if>
										<xsl:if test="$gAnl='SpaceFrame'">
											<fo:table-column column-width="80pt"/>
											<fo:table-column column-width="80pt"/>
											<fo:table-column column-width="80pt"/>
											<fo:table-column column-width="80pt"/>
											<fo:table-column column-width="80pt"/>
											<fo:table-column column-width="80pt"/>
											<fo:table-column column-width="80pt"/>
										</xsl:if>
										<fo:table-header>
											<fo:table-row background-color="lightgrey">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Node</fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center">Dx</fo:block>
													</fo:table-cell>
												</xsl:if>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Dy</fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center">Dz</fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center">Rx</fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='SpaceTruss'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center">Ry</fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center">Rz</fo:block>
													</fo:table-cell>
												</xsl:if>
											</fo:table-row>
										</fo:table-header>
										<fo:table-body>
											<xsl:for-each select="fmodel/node/elaReactions">
												<fo:table-row>
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="../label"/></fo:block>
													</fo:table-cell>
													<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
														<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
															<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="dx"/></fo:block>
														</fo:table-cell>
													</xsl:if>
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="dy"/></fo:block>
													</fo:table-cell>
													<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
														<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
															<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="dz"/></fo:block>
														</fo:table-cell>
													</xsl:if>
													<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
														<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
															<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="rx"/></fo:block>
														</fo:table-cell>
													</xsl:if>
													<xsl:if test="$gAnl='SpaceFrame'">
														<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
															<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="ry"/></fo:block>
														</fo:table-cell>
													</xsl:if>
													<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
														<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
															<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="rz"/></fo:block>
														</fo:table-cell>
													</xsl:if>
												</fo:table-row>
											</xsl:for-each>
											
										</fo:table-body>
									</fo:table>
								</fo:block>
							</xsl:if>
							<!-- End of Reactions on Elastic Supports -->
							
							<!-- Actions at Elements Extremities -->
							<xsl:if test="fmodel/element/actionsAtExtremities">
								<fo:block font-size="12pt" font-weight="bold" space-after="15pt" id="actionsAtExtremities">
									Actions at Elements Extremities
									
									<fo:table table-layout="fixed" space-before="3pt">
										<xsl:if test="not($gAnl='SpaceFrame')">
											<fo:table-column column-width="80pt"/>
											<fo:table-column column-width="65pt"/>
											<fo:table-column column-width="65pt"/>
											<fo:table-column column-width="65pt"/>
											<fo:table-column column-width="65pt"/>
										</xsl:if>
										<xsl:if test="$gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss'">
											<fo:table-column column-width="65pt"/>
											<fo:table-column column-width="65pt"/>
										</xsl:if>
										<xsl:if test="$gAnl='SpaceFrame'">
											<fo:table-column column-width="80pt"/>
											<fo:table-column column-width="65pt"/>
											<fo:table-column column-width="65pt"/>
											<fo:table-column column-width="65pt"/>
											<fo:table-column column-width="65pt"/>
											<fo:table-column column-width="65pt"/>
											<fo:table-column column-width="65pt"/>
											<fo:table-column column-width="65pt"/>
											<fo:table-column column-width="65pt"/>
											<fo:table-column column-width="65pt"/>
											<fo:table-column column-width="65pt"/>
											<fo:table-column column-width="65pt"/>
											<fo:table-column column-width="65pt"/>
										</xsl:if>
										<fo:table-header>
											<fo:table-row background-color="lightgrey">
												<fo:table-cell background-color="white" border-style="none">
													<fo:block font-size="10pt" font-weight="bold" text-align="center"></fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='PlaneTruss' or $gAnl='Beam'">
													<fo:table-cell number-columns-spanned="2" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center">Initial Node</fo:block>
													</fo:table-cell>
													<fo:table-cell number-columns-spanned="2" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center">Final Node</fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='SpaceTruss' or $gAnl='PlaneFrame' or $gAnl='Grid'">
													<fo:table-cell number-columns-spanned="3" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center">Initial Node</fo:block>
													</fo:table-cell>
													<fo:table-cell number-columns-spanned="3" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center">Final Node</fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='SpaceFrame'">
													<fo:table-cell number-columns-spanned="6" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center">Initial Node</fo:block>
													</fo:table-cell>
													<fo:table-cell number-columns-spanned="6" border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center">Final Node</fo:block>
													</fo:table-cell>
												</xsl:if>
											</fo:table-row>
											<fo:table-row background-color="lightgrey">
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Element</fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center">Fx</fo:block>
													</fo:table-cell>
												</xsl:if>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Fy</fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center">Fz</fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center">Mx</fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='SpaceTruss'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center">My</fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center">Mz</fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center">Fx</fo:block>
													</fo:table-cell>
												</xsl:if>
												<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
													<fo:block font-size="10pt" font-weight="bold" text-align="center">Fy</fo:block>
												</fo:table-cell>
												<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center">Fz</fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center">Mx</fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='SpaceTruss'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center">My</fo:block>
													</fo:table-cell>
												</xsl:if>
												<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center">Mz</fo:block>
													</fo:table-cell>
												</xsl:if>
											</fo:table-row>
										</fo:table-header>
										<fo:table-body>
											<xsl:for-each select="fmodel/element/actionsAtExtremities">
												<fo:table-row>
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="../label"/></fo:block>
													</fo:table-cell>
													<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
														<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
															<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="fx1"/></fo:block>
														</fo:table-cell>
													</xsl:if>
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="fy1"/></fo:block>
													</fo:table-cell>
													<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
														<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
															<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="fz1"/></fo:block>
														</fo:table-cell>
													</xsl:if>
													<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
														<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
															<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="mx1"/></fo:block>
														</fo:table-cell>
													</xsl:if>
													<xsl:if test="$gAnl='SpaceFrame'">
														<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
															<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="my1"/></fo:block>
														</fo:table-cell>
													</xsl:if>
													<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
														<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
															<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="mz1"/></fo:block>
														</fo:table-cell>
													</xsl:if>
													<xsl:if test="$gAnl='PlaneTruss' or $gAnl='PlaneFrame' or $gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
														<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
															<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="fx2"/></fo:block>
														</fo:table-cell>
													</xsl:if>
													<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
														<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="fy2"/></fo:block>
													</fo:table-cell>
													<xsl:if test="$gAnl='SpaceTruss' or $gAnl='SpaceFrame'">
														<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
															<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="fz2"/></fo:block>
														</fo:table-cell>
													</xsl:if>
													<xsl:if test="$gAnl='Grid' or $gAnl='SpaceFrame'">
														<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
															<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="mx2"/></fo:block>
														</fo:table-cell>
													</xsl:if>
													<xsl:if test="$gAnl='SpaceFrame'">
														<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
															<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="my2"/></fo:block>
														</fo:table-cell>
													</xsl:if>
													<xsl:if test="$gAnl='Beam' or $gAnl='Grid' or $gAnl='PlaneFrame' or $gAnl='SpaceFrame'">
														<fo:table-cell border-style="solid" border-color="black" border-width="1pt" padding-before="3pt" padding-after="3pt" padding-start="3pt" padding-end="3pt">
															<fo:block font-size="10pt" font-weight="bold" text-align="center"><xsl:value-of select="mz2"/></fo:block>
														</fo:table-cell>
													</xsl:if>
												</fo:table-row>
											</xsl:for-each>
											
										</fo:table-body>
									</fo:table>
								</fo:block>
							</xsl:if>
							<!-- End of Actions at Elements Extremities -->
						</xsl:if>
						
						<!-- Message -->
						<xsl:if test="fmodel/hypostatic = 'true'">
							<fo:block font-size="12pt" font-weight="bold" space-after="15pt">
							Hypostatic Structure
							</fo:block>
						</xsl:if>
						<!-- End of Message -->
						
					</xsl:if>
					<!-- End of Output data -->
					
					<!-- This must be the last element inside fo:flow -->
					<!-- It indicates the number of pages of the document -->
					<fo:block id="TheVeryLastPage"></fo:block>
					
				</fo:flow>
			</fo:page-sequence>
		</fo:root>
	</xsl:template>
	
</xsl:stylesheet>
